<?php
/**
 * Author: Administrator
 * Date: 2022/7/23 2:01
 */

namespace DesignPatterns\Behavioral\State;


abstract class Order
{
    protected $order;

    public function __construct(OrderModel $order)
    {
        $this->order = $order;
    }

    public function getOrder() {
        return $this->order;
    }

    abstract public function shipOrder();

    abstract public function completeOrder();

}